package com.ruoyi.project.shop.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ShopInfo extends BaseEntity {
    // 店铺id
    private String id;
    // 关联客户id
    private String customId;
    // 客户名称
    @Excel(name = "客户名称", height = 20, width = 26.25, align = Excel.Align.LEFT)
    private String cusName;
    // 店铺名称
    @Excel(name = "店铺名称", height = 20, width = 25, align = Excel.Align.LEFT)
    private String name;
    // 店铺网址
    @Excel(name = "店铺网址", height = 20, width = 27.25, align = Excel.Align.LEFT)
    private String shopUrl;
    // 服务类型（1=整店，2=单车）
    @Excel(name = "服务类型", readConverterExp = "1=整店项目,2=单车项目", height = 20, width = 13.38, align = Excel.Align.CENTER)
    private String serviceType;
    // 店铺登录子账号
    @Excel(name = "店铺账号", height = 20, width = 24.25, align = Excel.Align.LEFT)
    private String account;
    // 店铺登录密码
    @Excel(name = "店铺密码", height = 20, width = 13.88, align = Excel.Align.LEFT)
    private String password;
    // 店铺所在微信群名称
    @Excel(name = "微信群", height = 20, width = 24.88, align = Excel.Align.LEFT)
    private String wechatGroup;
    // 店铺开始操作日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始操作日期", dateFormat = "yyyy-MM-dd")
    private Date startDate;
    // 店铺终止操作日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "流失/暂停日期", dateFormat = "yyyy-MM-dd")
    private Date endDate;
    // 店铺终止操作原因
    private String reason;
    // 运营人员
    private String operator;
    // 店铺状态（0=正常，1=流失，2=暂停）
    @Excel(name = "店铺状态", readConverterExp = "0=未开始,1=操作中,2=已流失,3=已暂停")
    private String status;
    // 运营人员
    private List<ShopOperator> operators;
}
